<?php

namespace App\Http\Requests\Validators\Frontend\EdgeManage;

use App\Http\Requests\Validators\BaseValidator;

class RegionValidator extends BaseValidator
{
    public function searchRules()
    {
        return [
            'pid' => 'numeric',
            'paginate' => 'numeric',
            'page_num' => 'numeric',
            'name' => 'string | max:100',
            'region_level' => 'numeric',
            'begin_time' => 'date_format:Y-m-d H:i:s',
            'end_time' => 'date_format:Y-m-d H:i:s',
        ];
    }
}
